from flask import Flask, Blueprint

from applications.view.biz.category import bp as category_bp

# 创建biz
biz_bp = Blueprint('biz', __name__, url_prefix='/biz')


def register_biz_bps(app: Flask):
    # 在admin_bp下注册子蓝图
    biz_bp.register_blueprint(category_bp)
    app.register_blueprint(biz_bp)
